package com.itcast.ssm.mapper;

import com.itcast.ssm.pojo.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 房屋信息 Mapper 接口
 * </p>
 *
 * @author 三人行
 * @since 2020-09-12
 */
public interface HouseMapper {
    public Integer insert(House house);

    public List<House> findAll();

    public House findById(@Param(value = "house_id") Integer houseId);

    public Integer update(House house);

    public Integer delete(@Param(value = "house_id") Integer houseId);
}
